package com.shop.clientorder.service.impl;

import com.shop.clientorder.service.ClientService;
import com.shop.clientorder.utils.DelayedQueueUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author：作者姓名
 * @Package：com.shop.clientorder.service.impl
 * @Project：e-commerce-services
 * @name：ClientServiceImpl
 * @Date：2024/7/14 9:45
 */
@Service
public class ClientServiceImpl implements ClientService {
    @Autowired
    private DelayedQueueUtil delayedQueueUtil;

    @Override
    public int sout() {
        int i=5;
        delayedQueueUtil.sendDelayedQueue("AAAAA",i,100);
        return 0;
    }
}
